package com.sf.fy.uav.common.request.user;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.Size;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import java.util.Date;

/**
 * @author 01430312
 */
@Data
@Validated
public class UserCompanyReq {

    @ApiModelProperty("公司名称")
    private String companyName;

    @ApiModelProperty("营业执照")
    private String businessLicense;

    @ApiModelProperty("营业执照编号")
    private String businessLicenseNumber;

    @ApiModelProperty("有效期类型，0长期，1时间段")
    private Byte validityPeriodType;

    @ApiModelProperty("有效期开始时间")
    private Date startTime;

    @ApiModelProperty("有效期结束时间")
    private Date endTime;

    @ApiModelProperty("联系人")
    private String contacts;

    @ApiModelProperty("联系人手机号码")
    @Size(min = 11, max = 11)
    private String contactPhoneNumber;

    @ApiModelProperty("推荐码")
    private String recommendationCode;

    @ApiModelProperty("企业编号")
    private String enterpriseId;
}
